package com.example.speeddating.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author tina
 * @since 2023-08-05 03:18:43
 */
@Getter
@Setter
public class Preference implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 城市 0不限城市 1同城
     */
    private Integer cityType;

    /**
     * 最小年份
     */
    private Integer minAge;

    /**
     * 最大年份
     */
    private Integer maxAge;

    /**
     * 最小身高
     */
    private Double minHeight;

    /**
     * 最大身高
     */
    private Double maxHeight;

    /**
     * 学历
     */
    private String education;
}
